 module.exports = {
   configureWebpack: {
     devServer: {
       host: '0.0.0.0',
       hot: true,
       disableHostCheck: true,
       before(app) {
         app.get('/api/goods', function (req, res) {
           res.json({
             list: [{
                 text: "秋冬外套",
                 price: 210
               },
               {
                 text: "连衣裙",
                 price: 120
               },
               {
                 text: "职业套装",
                 price: 60
               }
             ]
           })
         })
       }
     }
   }
 }